<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <title>Title</title>
</head>

<body>
<form action="#" method="post">
    <table style="border: 1px black solid;">
        <tr>
            <th>姓名:</th>
            <td><p th:text="${employee.name}"></p></td>
        </tr>
        <tr>
            <th>部门:</th>
            <td><p th:text="${employee.department}"></p></td>
        </tr>
    </table>
</form>
</body>
</html>